package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ResourceDto;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {
    PageResponse<RoleVo> getPageVo(Integer pageNum, Integer pageSize, RoleDto roleDto);

    void addRole(RoleDto roleDto);

    void updateRole(RoleDto roleDto);

    List<String> selectResourceByRoleId(Long roleId);
}
